package com.tencreat.common.core.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum ImUserStatus {
    NORMAL(0, "正常"),
    BANED(9, "禁用");

    ImUserStatus(int code, String value) {
        this.code = code;
        this.value = value;
    }

    @EnumValue
    private final int code;
    private final String value;

}
